#include<iostream>
#include<deque>
using namespace std;

void PrintDeque(const deque<int>& d)
{
	for (deque<int>::const_iterator it = d.begin();it != d.end();it++)
	{
		cout << *it << " ";
	}
	cout << endl;
}
void test04() {
	deque<int> d1;

	deque<int>d2(d1.begin(), d1.end());

	deque<int>d3(10, 100);

	deque<int>d4(d3);

	deque<int> d5;
	d5 = d2;

	deque<int>d6;
	d6.assign(d1.begin(), d1.end());

	deque<int>d7;
	d7.assign(10, 100);

	d7.empty();
	d7.size();
	d7.resize(10);
	d7.resize(10, 100);
	d7.push_back(10);
	d7.push_front(20);
	d7.pop_back();
	d7.pop_front();

	d7.insert(d7.begin(), 22);
	

}